package com.whcoding.mybatis.page.service;

import com.github.pagehelper.PageInfo;
import com.whcoding.mybatis.page.entity.OrmDeptPO;

import java.util.List;

/**
 * @program: spring-boot-learning
 * @description:
 * @author: whcoding
 * @create: 2022-03-08 09:36
 **/
public interface DeptService {
	/**
	 * 查询全部数据
	 *
	 * @return
	 */
	List<OrmDeptPO> queryAllDept();

	/**
	 * 分页查询数据
	 * @return
	 */
	PageInfo<OrmDeptPO> page();

}
